
public class MyPrinter {

	public static void print(String str) throws BadLanguageException {
		if (str.equals("dupa")) {
			throw new BadLanguageException("Nie wolno wypisywać - " + str);
		}
		System.out.println(str);
	}
}
